﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using NCLCustomerManagement.DataTransferObjects.Customer;
using NCLCustomerManagement.UI.Models.ProductCategory;

namespace NCLCustomerManagement.UI.Models.Customer
{
    public class CustomerModel
    {
        [Key]
        public int Id { get; set; }
        [Display(Name="Tên Khách Hàng")]
        public string CustomerName { get; set; }

        [Display(Name = "Miền")]
        public Region CustomerRegion { get; set; }

        [Display(Name = "Điện thoại")]
        public string Phone { get; set; }
        public string CreditCardNumber { get; set; }
        public string Bank { get; set; }

        [Display(Name = "Địa chỉ")]
        public string Address { get; set; }

        [Display(Name = "Ghi chú")]
        public string Notes { get; set; }
        public string LastModifiedUser { get; set; }
        public DateTime LastModifiedDate { get; set; }
        public List<ProductCategoryModel> Products { get; set; }

        public CustomerModel() {
            Products = new List<ProductCategoryModel>();
        }
    }
}